package com.dongdongshop.service.imp;

import com.alibaba.dubbo.config.annotation.Service;
import com.dongdongshop.mapper.TbCitiesMapper;
import com.dongdongshop.pojo.TbCities;
import com.dongdongshop.service.CityService;

import javax.annotation.Resource;
import java.util.List;

@Service
@org.springframework.stereotype.Service
public class CityServiceImpl implements CityService {
    @Resource
    private TbCitiesMapper tbCitiesMapper;

    @Override
    public List<TbCities> getCity(String provinceid) {
        return tbCitiesMapper.getCity(provinceid);
    }
}
